<?php
/**
 * Zhub - A PHP Framework For API Developer
 *
 * This file is part of the Zhub package.
 *
 * (c) YiLong Fan <fantiq@163.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @author fanyilong <fantiq@163.com>
 * @copyright 2017 fanyilong. All rights reserved.
 * @package Zhub
 * @date 18-3-2
 */

namespace Zhub\Console\Output;


use Zhub\DataStruct\Enum;

class ColorEnum extends Enum
{
    const BLACK  = 00;

    const RED    = 01;

    const GREEN  = 02;

    const YELLOW = 03;

    const BLUE   = 04;

    const PURPLE = 05;

    const CYAN   = 06;

    const WHITE  = 07;

    public static function initialize(): array
    {
        return [
            self::BLACK  => 'black',
            self::RED    => 'red',
            self::GREEN  => 'green',
            self::YELLOW => 'yellow',
            self::BLUE   => 'blue',
            self::PURPLE => 'purple',
            self::CYAN   => 'cyan',
            self::WHITE  => 'white',
        ];
    }
}
